<?php

include("../lib/db.lib");
include("../lib/std.lib");


$cat_id = param('cat_id');
$title=cat_get_title($shop_id,$cat_id);

?>


<HTML><HEAD><TITLE>Catalog display</TITLE>
<META NAME='KEYWORDS' CONTENT=''/>
<LINK REL="stylesheet" HREF="wiki.css">
<META NAME="description" content="">
<meta http-equiv="Content-Style-Type"  content="text/css">
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="Content-Type"   content="text/html; charset=GB2312">
</HEAD>
<body>
<br>
<h2>Link catalog <?php echo $title; ?> to another one: (<?php echo $shop_id.",".$cat_id; ?>)</h2>

<form action="d_cat_update_linkto.php" method="post">
<input type="hidden" name="cat_id" value="<?php echo $cat_id;?>" >
Linkto:<input type="text" name="cat_linkto" value="" size="20">
Password:<input type="password" name="pwd" value="" size="20">
<input type="submit" name="sub" value="update the title">

</form>
<?php include("copyright.php");?>

</body>
</html>
